package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.Category;
import java.util.List;

public interface CategoryService extends IService<Category> {

    public IPage<Category> queryL1WithoutRecommend(int offset, int limit) ;

    public IPage<Category> queryL1(int offset, int limit) ;

    public List<Category> queryL1() ;

    public List<Category> queryByPid(Long pid) ;

    public List<Category> queryL2ByIds(List<Long> ids) ;

    public IPage<Category> querySelective(String id, String name, Integer pageNo, Integer pageSize) ;

    public List<Category> queryChannel() ;
}
